import request from '@/utils/request'

export function queryUserMasterList(data) {
  return request({
    url: '/api/YzUser/getPage',
    method: 'post',
    data
  })
}
// 查看个人信息
export function queryUserMasterInfo(id) {
  return request({
    url: `/api/YzUser/get/${id}`,
    method: 'GET',
  })
}
// 个人信息更新
export function saveUserMasterInfo(data) {
  return request({
    url: `/api/YzUser/save`,
    method: 'POST',
    data
  })
}
// 个人信息审核
export function auditUserMasterInfo(data) {
  return request({
    url: `/api/YzUser/audit`,
    method: 'POST',
    data
  })
}